package com.ys.entity.sys;

import java.util.Date;
import javax.persistence.Table;
import com.alibaba.fastjson.annotation.JSONField;
import com.ys.annotation.YsField;
import com.ys.entity.base.BaseEntity;
/**
*/
@Table(name="TB_CompanyBankInfo", catalog="Id")
public class TbCompanyBankInfo extends BaseEntity<TbCompanyBankInfo> {

	@YsField(nameDataBase="Id", nameJava="id", typeDataBase="bigint")
	private Long id;
	@YsField(nameDataBase="Vid", nameJava="vid", typeDataBase="varchar")
	private String vid;
	@YsField(nameDataBase="CompanyInfoVid", nameJava="companyInfoVid", typeDataBase="varchar")
	private String companyInfoVid;
	@YsField(nameDataBase="UserId", nameJava="userId", typeDataBase="varchar")
	private String userId;
	@YsField(nameDataBase="NatureAccount", nameJava="natureAccount", typeDataBase="varchar")
	private String natureAccount;
	@YsField(nameDataBase="RateId", nameJava="rateId", typeDataBase="bigint")
	private Long rateId;
	@YsField(nameDataBase="Vlhh", nameJava="vlhh", typeDataBase="varchar")
	private String vlhh;
	@YsField(nameDataBase="Vyhzh", nameJava="vyhzh", typeDataBase="varchar")
	private String vyhzh;
	@YsField(nameDataBase="Vkhh", nameJava="vkhh", typeDataBase="varchar")
	private String vkhh;
	@YsField(nameDataBase="Vyhzhmc", nameJava="vyhzhmc", typeDataBase="varchar")
	private String vyhzhmc;
	@YsField(nameDataBase="Vbz", nameJava="vbz", typeDataBase="varchar")
	private String vbz;
	@YsField(nameDataBase="Status", nameJava="status", typeDataBase="tinyint")
	private Integer status;
	@JSONField(format = "yyyy-MM-dd HH:mm:ss")
	@YsField(nameDataBase="CreateTime", nameJava="createTime", typeDataBase="datetime")
	private Date createTime;
	@JSONField(format = "yyyy-MM-dd HH:mm:ss")
	@YsField(nameDataBase="UpdateTime", nameJava="updateTime", typeDataBase="datetime")
	private Date updateTime;

	public Long getId() {
		return id;
	}
	public TbCompanyBankInfo setId(Long id) {
		this.id = id;
		return this;
	}
	public String getVid() {
		return vid;
	}
	public TbCompanyBankInfo setVid(String vid) {
		this.vid = vid;
		return this;
	}
	public String getCompanyInfoVid() {
		return companyInfoVid;
	}
	public TbCompanyBankInfo setCompanyInfoVid(String companyInfoVid) {
		this.companyInfoVid = companyInfoVid;
		return this;
	}
	public String getUserId() {
		return userId;
	}
	public TbCompanyBankInfo setUserId(String userId) {
		this.userId = userId;
		return this;
	}
	public String getNatureAccount() {
		return natureAccount;
	}
	public TbCompanyBankInfo setNatureAccount(String natureAccount) {
		this.natureAccount = natureAccount;
		return this;
	}
	public Long getRateId() {
		return rateId;
	}
	public TbCompanyBankInfo setRateId(Long rateId) {
		this.rateId = rateId;
		return this;
	}
	public String getVlhh() {
		return vlhh;
	}
	public TbCompanyBankInfo setVlhh(String vlhh) {
		this.vlhh = vlhh;
		return this;
	}
	public String getVyhzh() {
		return vyhzh;
	}
	public TbCompanyBankInfo setVyhzh(String vyhzh) {
		this.vyhzh = vyhzh;
		return this;
	}
	public String getVkhh() {
		return vkhh;
	}
	public TbCompanyBankInfo setVkhh(String vkhh) {
		this.vkhh = vkhh;
		return this;
	}
	public String getVyhzhmc() {
		return vyhzhmc;
	}
	public TbCompanyBankInfo setVyhzhmc(String vyhzhmc) {
		this.vyhzhmc = vyhzhmc;
		return this;
	}
	public String getVbz() {
		return vbz;
	}
	public TbCompanyBankInfo setVbz(String vbz) {
		this.vbz = vbz;
		return this;
	}
	public Integer getStatus() {
		return status;
	}
	public TbCompanyBankInfo setStatus(Integer status) {
		this.status = status;
		return this;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public TbCompanyBankInfo setCreateTime(Date createTime) {
		this.createTime = createTime;
		return this;
	}
	public Date getUpdateTime() {
		return updateTime;
	}
	public TbCompanyBankInfo setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
		return this;
	}

	public static TbCompanyBankInfo tbCompanyBankInfo(
		String vid,
		String companyInfoVid,
		String userId,
		String natureAccount,
		Long rateId,
		String vlhh,
		String vyhzh,
		String vkhh,
		String vyhzhmc,
		String vbz,
		Integer status
			) {
		TbCompanyBankInfo entity = new TbCompanyBankInfo();
		entity.setVid(vid);
		entity.setCompanyInfoVid(companyInfoVid);
		entity.setUserId(userId);
		entity.setNatureAccount(natureAccount);
		entity.setRateId(rateId);
		entity.setVlhh(vlhh);
		entity.setVyhzh(vyhzh);
		entity.setVkhh(vkhh);
		entity.setVyhzhmc(vyhzhmc);
		entity.setVbz(vbz);
		entity.setStatus(status);
		return entity;
	}
}